how to pass the values in c